import Layout from '../views/layout/index.vue';

const dynamicRouters = [
  {
    path: '/',
    component: Layout,
    hidden: true,
    redirect: '/appManage',
    children: [
      {
        path: '/appManage',
        name: 'appManage',
        component: () => import(/* webpackChunkName: "appManage" */ '../views/appManage/index.vue'),
        meta: {
          title: '平台应用',
          icon: 'iconyingyongguanli-01'
        }
      },
      {
        path: '/appCategoryManage',
        name: 'appCategoryManage',
        component: () => import(/* webpackChunkName: "appCategoryManage" */ '../views/appCategoryManage/index.vue'),
        meta: {
          title: '应用分类',
          icon: 'iconfenleihefenzu'
        }
      }
    ]
  }
];

export default dynamicRouters;
